package org.bigdata.framework.core.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-09-20
 */
@TableName("indexing_rules")
public class IndexingRules implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 中图分类名称
	 */
	@TableField(value="name_zh")
	private String nameZh;

	/**
	 * 中图分类号
	 */
	private String value;

	/**
	 * 表达式
	 */
	private String expression;

	/**
	 * 存储表达式（表达式装换）
	 */
	@TableField(value="store_expression")
	private String storeExpression;

	/**
	 * 分类类型0:中图分类，1主题分类
	 */
	private String type;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	public String getStoreExpression() {
		return storeExpression;
	}

	public void setStoreExpression(String storeExpression) {
		this.storeExpression = storeExpression;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
